//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package dto;

import java.io.Serializable;

public class TargetDeptVO implements Serializable {
    public static final long serialVersionUID = 42L;
    private String nickName;
    private String userId;
    private String departmentName;
    private String departmentId;
    private String role;
    private String bds;
    private Integer hierarchyId;
    private String organization;
    private Boolean hasChildren = true;
    private String parentId;

    public TargetDeptVO() {
    }

    public String getNickName() {
        return this.nickName;
    }

    public String getUserId() {
        return this.userId;
    }

    public String getDepartmentName() {
        return this.departmentName;
    }

    public String getDepartmentId() {
        return this.departmentId;
    }

    public String getRole() {
        return this.role;
    }

    public String getBds() {
        return this.bds;
    }

    public Integer getHierarchyId() {
        return this.hierarchyId;
    }

    public String getOrganization() {
        return this.organization;
    }

    public Boolean getHasChildren() {
        return this.hasChildren;
    }

    public String getParentId() {
        return this.parentId;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public void setBds(String bds) {
        this.bds = bds;
    }

    public void setHierarchyId(Integer hierarchyId) {
        this.hierarchyId = hierarchyId;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public void setHasChildren(Boolean hasChildren) {
        this.hasChildren = hasChildren;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TargetDeptVO)) {
            return false;
        } else {
            TargetDeptVO other = (TargetDeptVO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$nickName = this.getNickName();
                Object other$nickName = other.getNickName();
                if (this$nickName == null) {
                    if (other$nickName != null) {
                        return false;
                    }
                } else if (!this$nickName.equals(other$nickName)) {
                    return false;
                }

                Object this$userId = this.getUserId();
                Object other$userId = other.getUserId();
                if (this$userId == null) {
                    if (other$userId != null) {
                        return false;
                    }
                } else if (!this$userId.equals(other$userId)) {
                    return false;
                }

                Object this$departmentName = this.getDepartmentName();
                Object other$departmentName = other.getDepartmentName();
                if (this$departmentName == null) {
                    if (other$departmentName != null) {
                        return false;
                    }
                } else if (!this$departmentName.equals(other$departmentName)) {
                    return false;
                }

                label110: {
                    Object this$departmentId = this.getDepartmentId();
                    Object other$departmentId = other.getDepartmentId();
                    if (this$departmentId == null) {
                        if (other$departmentId == null) {
                            break label110;
                        }
                    } else if (this$departmentId.equals(other$departmentId)) {
                        break label110;
                    }

                    return false;
                }

                label103: {
                    Object this$role = this.getRole();
                    Object other$role = other.getRole();
                    if (this$role == null) {
                        if (other$role == null) {
                            break label103;
                        }
                    } else if (this$role.equals(other$role)) {
                        break label103;
                    }

                    return false;
                }

                Object this$bds = this.getBds();
                Object other$bds = other.getBds();
                if (this$bds == null) {
                    if (other$bds != null) {
                        return false;
                    }
                } else if (!this$bds.equals(other$bds)) {
                    return false;
                }

                label89: {
                    Object this$hierarchyId = this.getHierarchyId();
                    Object other$hierarchyId = other.getHierarchyId();
                    if (this$hierarchyId == null) {
                        if (other$hierarchyId == null) {
                            break label89;
                        }
                    } else if (this$hierarchyId.equals(other$hierarchyId)) {
                        break label89;
                    }

                    return false;
                }

                label82: {
                    Object this$organization = this.getOrganization();
                    Object other$organization = other.getOrganization();
                    if (this$organization == null) {
                        if (other$organization == null) {
                            break label82;
                        }
                    } else if (this$organization.equals(other$organization)) {
                        break label82;
                    }

                    return false;
                }

                Object this$hasChildren = this.getHasChildren();
                Object other$hasChildren = other.getHasChildren();
                if (this$hasChildren == null) {
                    if (other$hasChildren != null) {
                        return false;
                    }
                } else if (!this$hasChildren.equals(other$hasChildren)) {
                    return false;
                }

                Object this$parentId = this.getParentId();
                Object other$parentId = other.getParentId();
                if (this$parentId == null) {
                    if (other$parentId != null) {
                        return false;
                    }
                } else if (!this$parentId.equals(other$parentId)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof TargetDeptVO;
    }

    public String toString() {
        return "TargetDeptVO(nickName=" + this.getNickName() + ", userId=" + this.getUserId() + ", departmentName=" + this.getDepartmentName() + ", departmentId=" + this.getDepartmentId() + ", role=" + this.getRole() + ", bds=" + this.getBds() + ", hierarchyId=" + this.getHierarchyId() + ", organization=" + this.getOrganization() + ", hasChildren=" + this.getHasChildren() + ", parentId=" + this.getParentId() + ")";
    }
}
